import ajax from '@/utils/ajax.js'

class Api extends ajax {
	constructor(){
		super();
	}
	get(url, params){
		return this.getRequest(url, params)
	}
	
	post(url, params){
		return this.postRequest(url, params)
	}
}

const api = new Api();

export default api;

